<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>举报资源 - 1024导航</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981',
                        accent: '#F59E0B',
                        dark: '#1F2937',
                        light: '#F9FAFB'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-hover {
                @apply transition-all duration-300 hover:shadow-lg hover:-translate-y-1;
            }
            .text-gradient {
                @apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary;
            }
        }
    </style>
</head>

<body class="bg-gray-50 font-sans text-gray-800">
    <!-- 顶部导航栏 -->
    <header class="sticky top-0 z-50 bg-white shadow-sm transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <div class="text-primary text-2xl font-bold">1024<span class="text-secondary">导航</span></div>
                <span class="hidden md:inline-block text-sm text-gray-500 bg-gray-100 px-2 py-1 rounded">v2.3</span>
            </div>

            <nav class="hidden md:flex items-center space-x-6">
                <a href="index.html" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="resources.html" class="text-gray-600 hover:text-primary transition-colors">资源</a>
                <a href="tools.html" class="text-gray-600 hover:text-primary transition-colors">工具</a>
                <a href="community.html" class="text-gray-600 hover:text-primary transition-colors">社区</a>
                <a href="about.html" class="text-gray-600 hover:text-primary transition-colors">关于</a>
            </nav>

            <div class="flex items-center space-x-3">
                <button
                    class="hidden md:block px-4 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors">
                    <i class="fa fa-user-plus mr-1"></i> 登录
                </button>
                <button class="md:hidden text-gray-600 text-xl">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 页面标题 -->
    <section class="py-10 bg-gradient-to-b from-white to-gray-50 border-b border-gray-100">
        <div class="container mx-auto px-4">
            <div class="max-w-3xl mx-auto text-center">
                <h1 class="text-[clamp(1.8rem,5vw,2.5rem)] font-bold mb-4 text-gradient">举报资源</h1>
                <p class="text-gray-600">帮助我们维护平台质量，举报不良或违规资源</p>
            </div>
        </div>
    </section>

    <!-- 举报内容区 -->
    <section class="py-10">
        <div class="container mx-auto px-4">
            <div class="max-w-3xl mx-auto">
                <!-- 被举报资源信息 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                    <h2 class="text-lg font-semibold mb-4 flex items-center">
                        <i class="fa fa-info-circle text-primary mr-2"></i>被举报资源信息
                    </h2>

                    <div class="flex items-start p-4 bg-gray-50 rounded-lg">
                        <div
                            class="w-12 h-12 rounded-lg bg-blue-100 flex items-center justify-center text-primary mr-4 flex-shrink-0">
                            <i class="fa fa-code text-xl"></i>
                        </div>
                        <div class="flex-grow">
                            <h3 class="font-medium text-gray-800">在线代码编辑器</h3>
                            <p class="text-gray-500 text-sm mt-1">无需安装，在线编写和运行多种编程语言代码</p>
                            <div class="mt-2">
                                <span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">开发工具</span>
                                <a href="#" class="text-primary text-xs hover:underline ml-2">查看资源</a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 举报表单 -->
                <div class="bg-white rounded-xl shadow-sm p-6 mb-8">
                    <h2 class="text-xl font-bold mb-6">举报原因</h2>

                    <form class="space-y-6">
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-3">请选择举报类型（可多选）</label>

                            <div class="space-y-3">
                                <div class="flex items-start">
                                    <input type="checkbox" id="reason1"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason1" class="ml-3 text-gray-700">
                                        <span class="font-medium">内容违规</span>
                                        <p class="text-sm text-gray-500 mt-1">包含色情、暴力、仇恨等违法违规内容</p>
                                    </label>
                                </div>

                                <div class="flex items-start">
                                    <input type="checkbox" id="reason2"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason2" class="ml-3 text-gray-700">
                                        <span class="font-medium">侵权内容</span>
                                        <p class="text-sm text-gray-500 mt-1">侵犯版权、商标或其他知识产权</p>
                                    </label>
                                </div>

                                <div class="flex items-start">
                                    <input type="checkbox" id="reason3"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason3" class="ml-3 text-gray-700">
                                        <span class="font-medium">垃圾信息</span>
                                        <p class="text-sm text-gray-500 mt-1">包含广告、诈骗或无意义内容</p>
                                    </label>
                                </div>

                                <div class="flex items-start">
                                    <input type="checkbox" id="reason4"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason4" class="ml-3 text-gray-700">
                                        <span class="font-medium">链接失效</span>
                                        <p class="text-sm text-gray-500 mt-1">资源链接无法访问或已失效</p>
                                    </label>
                                </div>

                                <div class="flex items-start">
                                    <input type="checkbox" id="reason5"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason5" class="ml-3 text-gray-700">
                                        <span class="font-medium">分类错误</span>
                                        <p class="text-sm text-gray-500 mt-1">资源分类不正确或不恰当</p>
                                    </label>
                                </div>

                                <div class="flex items-start">
                                    <input type="checkbox" id="reason6"
                                        class="mt-1 h-4 w-4 text-primary focus:ring-primary border-gray-300 rounded">
                                    <label for="reason6" class="ml-3 text-gray-700">
                                        <span class="font-medium">其他原因</span>
                                    </label>
                                </div>
                            </div>
                        </div>

                        <div>
                            <label for="description" class="block text-sm font-medium text-gray-700 mb-1">详细描述</label>
                            <textarea id="description" rows="4"
                                class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary"
                                placeholder="请详细描述您举报的原因和相关情况，这将帮助我们更好地处理您的举报..."></textarea>
                            <p class="text-xs text-gray-500 mt-1">请提供尽可能详细的信息，以便我们进行审核处理</p>
                        </div>

                        <div>
                            <label for="contact" class="block text-sm font-medium text-gray-700 mb-1">联系方式（可选）</label>
                            <input type="text" id="contact"
                                class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary"
                                placeholder="请留下您的邮箱或其他联系方式，以便我们反馈处理结果">
                        </div>

                        <div class="bg-amber-50 border-l-4 border-amber-400 p-4 rounded-r-lg">
                            <p class="text-sm text-amber-700 flex items-start">
                                <i class="fa fa-info-circle mt-0.5 mr-2"></i>
                                <span>我们会在24-48小时内处理您的举报，并根据情况采取相应措施。请确保举报内容真实有效，恶意举报将被记录。</span>
                            </p>
                        </div>

                        <div class="flex space-x-4 pt-2">
                            <a href="#"
                                class="px-6 py-2.5 border border-gray-300 text-gray-700 rounded-md hover:bg-gray-50 transition-colors flex-1 text-center">
                                取消
                            </a>
                            <button type="submit"
                                class="px-6 py-2.5 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors flex-1">
                                提交举报
                            </button>
                        </div>
                    </form>
                </div>

                <!-- 举报须知 -->
                <div class="bg-white rounded-xl shadow-sm p-6">
                    <h3 class="text-lg font-semibold mb-4 flex items-center">
                        <i class="fa fa-exclamation-circle text-amber-500 mr-2"></i>举报须知
                    </h3>

                    <ul class="space-y-2 text-gray-600 text-sm">
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>请确保您举报的内容真实、准确，不得进行恶意举报或报复性举报</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>对于涉及版权侵权的举报，请提供相关证明材料以帮助我们更快处理</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>我们会对举报人的信息进行保密，不会向被举报人泄露</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fa fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>对于恶意举报、诬告陷害等行为，我们保留追究相关责任的权利</span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <!-- 回到顶部按钮 -->
    <button id="backToTop"
        class="fixed bottom-6 right-6 w-12 h-12 rounded-full bg-primary text-white shadow-lg flex items-center justify-center opacity-0 invisible transition-all duration-300">
        <i class="fa fa-arrow-up"></i>
    </button>

    <!-- 底部区域 -->
    <footer class="bg-gray-800 text-gray-300 py-10 mt-10">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-white text-lg font-semibold mb-4">1024导航</h3>
                    <p class="text-sm text-gray-400 mb-4">精选互联网优质资源，打造高效便捷的导航平台，助力你的工作与学习。</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-twitter text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weixin text-xl"></i>
                        </a>
                    </div>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">快速链接</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="index.html" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
                        <li><a href="resources.html" class="text-gray-400 hover:text-white transition-colors">资源分类</a>
                        </li>
                        <li><a href="tools.html" class="text-gray-400 hover:text-white transition-colors">实用工具</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">最新收录</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">热门推荐</a></li>
                    </ul>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">帮助支持</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用指南</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">资源提交</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
                        <li><a href="report.html" class="text-gray-400 hover:text-white transition-colors">举报不良信息</a>
                        </li>
                    </ul>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">关于我们</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="about.html" class="text-gray-400 hover:text-white transition-colors">网站介绍</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用条款</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">免责声明</a></li>
                    </ul>
                </div>
            </div>

            <div class="border-t border-gray-700 mt-8 pt-6 text-center text-sm text-gray-500">
                <p>© 2023 1024导航. 本站资源仅供学习交流使用，如有侵权请联系删除。</p>
            </div>
        </div>
    </footer>

    <script>
        // 回到顶部按钮功能
        const backToTopBtn = document.getElementById('backToTop');

        window.addEventListener('scroll', () => {
            if (window.scrollY > 300) {
                backToTopBtn.classList.remove('opacity-0', 'invisible');
                backToTopBtn.classList.add('opacity-100', 'visible');
            } else {
                backToTopBtn.classList.remove('opacity-100', 'visible');
                backToTopBtn.classList.add('opacity-0', 'invisible');
            }

            // 导航栏滚动效果
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('shadow');
                header.classList.remove('shadow-sm');
            } else {
                header.classList.remove('shadow');
                header.classList.add('shadow-sm');
            }
        });

        backToTopBtn.addEventListener('click', () => {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });

        // 表单提交处理
        document.querySelector('form').addEventListener('submit', function (e) {
            e.preventDefault();

            // 简单验证至少选择一个举报原因
            const checkboxes = document.querySelectorAll('input[type="checkbox"]:checked');
            if (checkboxes.length === 0) {
                alert('请至少选择一个举报原因');
                return;
            }

            // 模拟提交成功
            alert('举报提交成功！我们会尽快处理您的举报，感谢您对平台的支持。');
            this.reset();
        });
    </script>
</body>

</html>